import loadable from "@loadable/component";

import { Loading, ErrorBoundary } from "../../components"
import { Props, loadData } from './Home';

const Home = loadable(() => import('./Home'), {
    fallback: <Loading />,
});

export default (props: Props): JSX.Element => (
    <ErrorBoundary>
        <Home {...props} />
    </ErrorBoundary>
)


